home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
bit
/
help
/
ibbind.hlp
< prev
next >
Wrap
Text File
|
1994-08-01
|
1KB
|
42 lines
@C1@c@b@_ Image Browser Binding
Launch a shell command that operates on marked files.
@b Interaction
Text entered in the Label field will be used to label the
button and text entered in the Command field is taken to be
the shell command. Click on field to activate.
To make current binding the default upon start up of any
browser, click on the Save button.
@ Details
The shell command can take the form
@f cmd [opt1] [?] [opt2]
? has special meaning in the binding in that it represents
the marked file(s). If MultiArgs is set, ? represents all
marked files otherwise a loop over each marked file will be
executed.
For example, move all marked files to a permanent directory:
@f mv ? /usr/people/me/perm_dir
If ? is missing in the binding, marked files will be appended
to the end, e.g, to delete all marked files, the following
binding can be used:
@f rm -f
The binding is not limited to simple command, any command
that can be executed by the shell can be used with ?
substituted by marked files.
A meaningless example:
@f for i in ?; do touch $i; done